import request from '@/utils/api'


export function getFileArr (params) {
  return request({
    url: '/folder/getFileArr',
    method: 'get',
    params
  })
}

export function saveFolder (data) {
  return request({
    url: '/folder/save',
    method: 'post',
    data
  })
}

export function deleteFolder (data) {
  return request({
    url: '/folder/delete',
    method: 'post',
    data
  })

}

export function updateFolder (data) {
  return request({
    url: '/folder/update',
    method: 'post',
    data
  })
}

export function copyFile(data) {
  return request({
    url: '/folder/copyFile',
    method: 'post',
    data
  })
}
